Boost
boost
arrow_drop_down
Boost.Regex

This Release

John Maddock
John Maddock
Maintainer

Boost Regex Library

The Boost Regex library provides regular expression support for C++, this library is the ancestor to std::regex and still goes beyond and offers some advantages to, the standard version.

The full documentation is available on boost.org.

Standalone Mode

This library may now be used in "standalone" mode without the rest of the Boost C++ libraries, in order to do this you must either:

  • Have a C++17 compiler that supports __has_include, in this case if <boost/config.hpp> is not present then the library will automoatically enter standalone mode. Or:
  • Define BOOST_REGEX_STANDALONE when building.

The main difference between the 2 modes, is that when Boost.Config is present the library will automatically configure itself around various compiler defects. In particular in order to use the library with exception support turned off, you will either need a copy of Boost.Config in your include path, or else manually define BOOST_NO_EXCEPTIONS when building.

In any event, to obtain a standalone version of this library, simply download a .zip of the "master" branch of this repository.

Support, bugs and feature requests

Bugs and feature requests can be reported through the Gitub issue tracker (see open issues and closed issues).

You can submit your changes through a pull request.

There is no mailing-list specific to Boost Regex, although you can use the general-purpose Boost mailing-list using the tag [regex].

Development

Clone the whole boost project, which includes the individual Boost projects as submodules (see boost+git doc):

git clone https://github.com/boostorg/boost
cd boost
git submodule update --init

The Boost Regex Library is located in libs/regex/.

Running tests

First, make sure you are in libs/regex/test. You can either run all the tests listed in Jamfile.v2 or run a single test:

../../../b2                        <- run all tests
../../../b2 regex_regress          <- single test

All Time

jzmaddock
Contributor
Beman Dawes
Beman Dawes
Contributor
Vladimir Prus
Vladimir Prus
Contributor
jzmaddock
Contributor
nobody
Contributor
Mike Dev
Mike Dev
Contributor
Rene Rivera
Rene Rivera
Contributor
Daniel James
Daniel James
Contributor
Marshall Clow
Marshall Clow
Contributor
Stephen Kelly
Stephen Kelly
Contributor
Peter Dimov
Peter Dimov
Contributor
Troy D. Straszheim
Troy D. Straszheim
Contributor
Mikael Olenfalk
Mikael Olenfalk
Contributor
Edward Diener
Edward Diener
Contributor
Dave Abrahams
Dave Abrahams
Contributor
Gennaro Prota
Contributor
Yucheng Low
Contributor
Aleksey Gurtovoy
Contributor
Douglas Gregor
Douglas Gregor
Contributor
Markus Schöpflin
Contributor
Volo Zyko
Volo Zyko
Contributor
Peter Dimov
Peter Dimov
Contributor
David Deakins
David Deakins
Contributor
Daniel Krügler
Daniel Krügler
Contributor
Eric Niebler
Contributor
Daniela Engert
Daniela Engert
Contributor
Nikita Kniazev
Nikita Kniazev
Contributor
James E. King III
James E. King III
Contributor
Jens Maurer
Jens Maurer
Contributor
Reimar Döffinger
Reimar Döffinger
Contributor
Jonathan Turkanis
Jonathan Turkanis
Contributor
Steven Watanabe
Steven Watanabe
Contributor
Michael A. Jackson
Michael A. Jackson
Contributor
Gaurav
Gaurav
Contributor
Andrey Semashev
Andrey Semashev
Contributor
Peter Klotz
Peter Klotz
Contributor
Christian Maurer
Christian Maurer
Contributor
Jeremiah Willcock
Jeremiah Willcock
Contributor
Marcel Raad
Marcel Raad
Contributor
Bryce Adelstein-Lelbach
Bryce Adelstein-Lelbach
Contributor
Romain Geissler
Romain Geissler
Contributor
Jürgen Hunold
Jürgen Hunold
Contributor
Peter A. Bigot
Peter A. Bigot
Contributor
Stefan Slapeta
Contributor
Marcel Raad
Marcel Raad
Contributor
Björn Karlsson
Contributor
Joel de Guzman
Joel de Guzman
Contributor
Guillaume Melquiond
Guillaume Melquiond
Contributor
akumta
akumta
Contributor
EugeneZelenko
EugeneZelenko
Contributor
Matt Borland
Matt Borland
Contributor
VemundH
VemundH
Contributor
Giovanni Mascellani
Giovanni Mascellani
Contributor
Anthony Williams
Contributor
Zoey Greer
Zoey Greer
Contributor
U-Acer-Laptop\john
Contributor
John Maddock
Contributor
Peter Klotz
Contributor
rummt
rummt
Contributor
Forrest Reiling
Forrest Reiling
Contributor
Scott Ramsby
Scott Ramsby
Contributor
Reimar Döffinger
Contributor
Deniz Bahadir
Contributor
Laurent Stacul
Contributor
VemundH
Contributor
Carlos Miguel Ferreira
Carlos Miguel Ferreira
Contributor
zhangyiru
Contributor
zhangyiru
Contributor